package com.manage.competition.service;

import com.manage.competition.entity.AnswerPaper;

import java.util.List;

/**
 * Create with IDEA
 *
 * @Author: gitee.com/KamisamaXX
 * @Date: Create in 13:45 2019/4/9
 * @Description:
 */
public interface IAnswerPaperService {
    int insert(AnswerPaper answerPaper);

    AnswerPaper findByQuestionIdAndUserId(long userId, long questionId);

    int update(AnswerPaper answerPaper);

    List<AnswerPaper> findByCompetitionAndUserId(long competitionId, long userId);
}
